//
//  CommonEvaluateCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/12.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommunityEvaModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CommonEvaluateCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *userIcon;

@property (weak, nonatomic) IBOutlet UILabel *userName;

@property (weak, nonatomic) IBOutlet UILabel *timeLab;

@property (weak, nonatomic) IBOutlet UILabel *contentLab;

@property (weak, nonatomic) IBOutlet UIButton *thumbBtn;

@property (nonatomic, copy) void(^CommonEvaluateCellBlock)(CommunityActionType type);


+ (CGFloat)calculateHeightWithModel:(CommunityEvaModel *)model;

- (void)fillWithModel:(CommunityEvaModel *)model;

@end

NS_ASSUME_NONNULL_END
